home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Games / xquinto / Makefile < prev    next >
Encoding:
Makefile  |  1995-06-06  |  719 b   |  32 lines

  1. # make all    creates all executables for the programs in this directory
  2. # make clean    removes all temporary files.
  3.  
  4. DESTDIR=/usr/skunk/bin
  5. TARGET=x11
  6. CFLAGS = -O
  7. INCS = -I/usr/openwin/include
  8. XVIEWLIBS = -lxview -lolgx
  9.  
  10. all: $(TARGET)
  11.  
  12. x11: xquinto_x11.o
  13.     cc ${CFLAGS} -o xquinto xquinto_x11.o -lX11 -lsocket -lXext
  14.  
  15. xview: xquinto_xview.o
  16.     cc ${CFLAGS} -o xquinto xquinto_xview.o -lX11 ${XVIEWLIBS}
  17.  
  18. xquinto_xview.o: xquinto_xview.c
  19.     cc -c ${INCS} ${CFLAGS} xquinto_xview.c
  20.  
  21. xquinto_x11: xquinto_x11.c
  22.     cc -c ${INCS} ${CFLAGS} xquinto_x11.c
  23.  
  24. tar:    
  25.     tar cvf xquinto.tar Makefile xquinto.1 xquinto_x11.c\
  26.         xquinto_xview.c copyright.h gray.xbm white.xbm
  27. clean:
  28.     rm -f *.o
  29.  
  30. install: $(TARGET)
  31.     cp xquinto $(DESTDIR)/xquinto
  32.